package com.itheima.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.itheima.dao.TestDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

/**
 * @description:
 * @author: cx
 * @date: 2020/2/23-1:33
 * @Version: 1.0.0
 */
@Service(interfaceClass = TestService.class)
@Transactional
public class TestServiceImpl implements TestService {
    @Autowired
    TestDao testDao;

    @Override
    public String hello() {

        return testDao.hello();
    }
}
